home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Scheduling / Cassandra / Source / WeekWindow.h < prev    next >
Encoding:
Text File  |  1991-08-18  |  1.3 KB  |  67 lines

  1. //
  2. // WeekWindow.h
  3. // Copyright (c) 1989, 1990, 1991 by Jiro Nakamura 
  4. // All rights reserved
  5. //
  6. // Handles the Week window
  7. //
  8. // RCS Information
  9. // Revision Number->    $Revision: 1.1 $
  10. // Last Revised->    $Date: 90/10/27 17:36:41 $
  11. //
  12.  
  13. #import <appkit/Window.h>
  14. #import <appkit/PopUpList.h>
  15. #import <sys/time.h>        
  16.  
  17. @interface WeekWindow:Window
  18. {
  19.     int     hour, minute;
  20.     struct tm thisWeek;
  21.     
  22.     BOOL militaryTime;
  23.     BOOL miniaturized;
  24.     
  25.     int    priorityCutOff;
  26.     
  27.     PopUpList    *viewPopUp;
  28.     id    viewPopUpButton;
  29.     
  30.     id    weekTextField;
  31.     id    tuesdayScroll;
  32.     id    sundayScroll;
  33.     id    thursdayScroll;
  34.     id    fridayScroll;
  35.     id    wednesdayScroll;
  36.     id    saturdayScroll;
  37.     id    mondayScroll;
  38.  
  39.     Text    *sundayView;
  40.     Text    *mondayView;
  41.     Text    *tuesdayView;
  42.     Text    *wednesdayView;
  43.     Text    *thursdayView;
  44.     Text    *fridayView;
  45.     Text    *saturdayView;
  46.     
  47.     id global;        // Set by IB. Accessor to Global object
  48. }
  49.  
  50. - open:sender;            // Open and display today window
  51. - close;            // close window
  52. - save;                // Save window (null method)
  53. - update;            // Update window
  54. - (int) updateView: (id) dayView on: (struct tm *) thisDay fromEvent: (int) en;
  55.  
  56. - defaultsDidChange: sender;
  57. - windowDidMiniaturize: sender;
  58. - windowDidDeminiaturize: sender;
  59. - windowWillResize: (id) sender toSize: (NXSize *) size;
  60.  
  61.  
  62. - weekBefore:sender;
  63. - weekAfter:sender;
  64. - weekNow: sender;
  65. - viewPopUpChanged:sender;
  66. @end
  67.